import Vue from 'vue'
import Vuex from 'vuex'
import handleLoginModal from "./handleLoginModal"
import loginState from "./loginState"
import handleToast from "./handleToast"
import userInfo from "./userInfo"

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    // isShowLoginModal: false
  },
  getters: {

  },
  mutations: {
    // showLogin(state) {
    //   // state.isShowLoginModal = !state.isShowLoginModal

    // }


  },
  modules: {
    handleLoginModal,
    handleToast,
    loginState,
    userInfo
  }
})